package com.andy.local.dao;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author andylin
 * @since 2021-04-10
 */
@Data
@Accessors(chain = true)
@TableName("user")
public class User {

@TableField("access")
private String access;

@TableId(value="userid", type= IdType.AUTO)
private Integer userid;

@ApiModelProperty(value = "用户名")
@TableField("number")
private String number;

@ApiModelProperty(value = "密码")
@TableField("password")
private String password;

@ApiModelProperty(value = "联系方式")
@TableField("phone")
private String phone;

@ApiModelProperty(value = "权限1、管理员   2、审核人")
@TableField("power")
private Integer power;


}